package main

import (
	"context"
	"fmt"
	"google.golang.org/grpc/metadata"
	"mxshop_srvs/goods_srv/proto"
)

func testBrandsList() {
	ctx := metadata.NewOutgoingContext(context.Background(), metadata.New(map[string]string{"11": "22"}))
	response, err := client.BrandList(ctx, &proto.BrandFilterRequest{Pages: 1, PagePerNums: 5})
	if err != nil {
		panic(err)
	}
	fmt.Println(response)
}
